<!--mouseleave()마우스가 P Tag를 벗어나면 경고창을 띄운다. -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script
src = "http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js">
</script>
<script>
$(document).ready(function(){
	$("#pl").mouseleave(function(){
		alert("Bye! You leave pl!");
	});
});
</script>
</head>
<body>
<p id = "pl">This is a paragraph</p>
</body>
</html>